package com.ocom.srvpamh.feignclient;

import com.ocom.common.constant.AiotUrl;
import com.ocom.common.resp.RespMachMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "aiot")
public interface MachineFeignService {

    //门禁设备签到
    @GetMapping(AiotUrl.URL_Aiot_SetMjDeviceCommTimeBySign)
    public RespMachMessage setMjDeviceCommTimeBySign(@RequestParam("deviceNo")String deviceNo,@RequestParam("commMode")Integer commMode);
}
